package wt.auto.dao;

import org.apache.ibatis.annotations.Param;
import wt.auto.entity._AffiliateCompany;
import wt.auto.entity._AffiliateCompanyExample;

import java.util.List;

public interface _AffiliateCompanyMapper {
    int countByExample(_AffiliateCompanyExample example);

    int deleteByExample(_AffiliateCompanyExample example);

    int deleteByPrimaryKey(String id);

    int insert(_AffiliateCompany record);

    int insertSelective(_AffiliateCompany record);

    List<_AffiliateCompany> selectByExample(_AffiliateCompanyExample example);

    _AffiliateCompany selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") _AffiliateCompany record, @Param("example") _AffiliateCompanyExample example);

    int updateByExample(@Param("record") _AffiliateCompany record, @Param("example") _AffiliateCompanyExample example);

    int updateByPrimaryKeySelective(_AffiliateCompany record);

    int updateByPrimaryKey(_AffiliateCompany record);
}